#pragma once
#include <QFile>
#include <QDomDocument>
#include "typedefs.h"
#include <QTableWidget>

class DataFile
{
public:
	DataFile(void);
	void writeList(WordList *list, QString fileName);
	void readList(WordList *list, QString fileName);
	void merge(WordList *currentList, WordList *list);
	void writeToTable(WordList *list, QTableWidget *table);
private:
	QDomDocument *document;
};
